using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.MediaCenter.Hosting;

namespace MCEMediaManager
{
    /// <summary>
    /// In addition to the back page stack supported by HistoryOrientedPageSession, supports
    /// going to a page without that page being added to the back stack.
    /// </summary>
    public class ExtendedPageSession : HistoryOrientedPageSession
    {
        public void GoToPageWithoutHistory(
            string source, IDictionary<string, object> sourceData, IDictionary<string, object> uiProperties)
        {
            LoadPage(source, sourceData, uiProperties);
        }
    }

}
